/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.generate.service.GenerateOrderService
   Module Description   :

   Date Created      : 2010/1/4
   Original Author   : feeling.wang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.generate.service;

import java.util.Map;

import com.yaodian100.core.common.exception.CoreException;

/**
 * @author feeling.wang
 * 
 */
public interface GenerateOrderService {
	/**
	 * 建立单一会员订单静态页面
	 * 
	 * @param memberId
	 * @throws CoreException
	 */
	public void generateMemberOrderPage(String memberId) throws CoreException;

	/**
	 * 由訂單資料中查詢需要建立訂單靜態頁面的會員
	 * 
	 * @throws CoreException
	 */
	public void generateMembersOrderPage() throws CoreException;

	Map<String, Object> getActiveOrders(String memberId, int page) throws CoreException;

	Map<String, Object> getYetPaymentOrders(String memberId, int page) throws CoreException;

	Map<String, Object> getHistoryOrders(String memberId, int page) throws CoreException;

	Map<String, Object> getSplitOrders(String memberId, int page) throws CoreException;

	Map<String, Object> getHistorySplitOrders(String memberId, int page) throws CoreException;

	Map<String, Object> getHistoryYetPaymentOrders(String memberId, int page) throws CoreException;

	Map<String, Object> getHistoryOrdersSelect(String memberId, int page, String parm) throws CoreException;

	int getOrderTypeCount(String memberId, String type);

	/**
	 * @param memberId
	 * @param page
	 * @return
	 * @throws CoreException
	 */
	public Map<String, Object> getTuangouOrders(String memberId, int page, String pageType) throws CoreException;

	public Map<String, Object> getMobileOrders(String memberId) throws CoreException;

	/**
	 * @param memberId
	 * @param page
	 * @return
	 * @throws CoreException
	 */
	public Map<String, Object> getTuangouOrderPrizes(String memberId, int page) throws CoreException;

}
